package com.example.ShoppingManagementSystem.service;

import com.example.ShoppingManagementSystem.entity.Admin;
import com.example.ShoppingManagementSystem.entity.Customer;
import com.example.ShoppingManagementSystem.entity.Product;

import java.util.List;

public interface AdminService {

    Admin loginAdmin(String username, String password);
    void updatePassword( String newPassword);
    void changeCustomerPassword(String username, String newPassword);
    List<Customer> getAllCustomers();
    void delCustomer(int id);
    Customer findCustomerByUsername(String username);
    Customer findCustomerByID(int id);
    List<Product> getAllProduct();
    void addProduct(String ProductName, String manufacturer, String model, Double purchasePrice, Double retailPrice, Integer quantity);
    void updateProduct(Product product);
    void deleteProduct(int productId);
}
